package cn.wolfcode.enums;

import lombok.Getter;

@Getter
public enum BusinessReportEnum {
    BUSINESS("门店","business.`name`"),
    YEAR("年","DATE_FORMAT(pay_time,'%y年')"),
    MONTH("月","DATE_FORMAT(pay_time,'%y年%m月')"),
    DAY("日","DATE_FORMAT(pay_time,'%y年%m月%d日')");

    private String name;
    private String sql;

    BusinessReportEnum(String name,String sql){
        this.name=name;
        this.sql=sql;
    };


}
